package org.openfans.domain;

import java.util.Date;

/**
 * 描述：个人消息<br>
 * 日期：2006-12-20<br>
 * 
 * @author 张俊<br>
 * @email:pesome@gmail.com<br>
 */
public class Message extends PersistentObject {
	private int id;

	/*
	 * 消息的状态
	 */
	private int status;

	public static final int UNREAD = 1;// 未读的新消息

	public static final int READ = 2;// 已读但未回复消息

	public static final int REPLY = 3;// 已回复的消息

	private Fans fromFans;

	private Fans toFans;

	private Date postDate;

	private String content;

	private String title;

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public Date getPostDate() {
		return postDate;
	}

	public void setPostDate(Date postDate) {
		this.postDate = postDate;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public Fans getFromFans() {
		return fromFans;
	}

	public void setFromFans(Fans fromFans) {
		this.fromFans = fromFans;
	}

	public Fans getToFans() {
		return toFans;
	}

	public void setToFans(Fans toFans) {
		this.toFans = toFans;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public int getStatus() {
		return status;
	}

	public void setStatus(int status) {
		this.status = status;
	}

}
